package chaw.android.util;

import chaw.android.train.R;

public class ContactsItem {
	private String name, number, id;
	private boolean isSelect;
	private int iconId;
	
	public ContactsItem(String initName, String initNumber, String initId){
		name = initName;
		number = initNumber;
		id = initId;
		isSelect = false;
		iconId = R.drawable.btn_add;
	}
	
	public String getName(){
		return name;
	}
	
	public String getNumber(){
		return number;
	}
	
	public String getId(){
		return id;
	}
	
	public boolean isSelect(){
		return isSelect;
	}
	
	public int getIcon(){
		return iconId;
	}
	
	public void setIconBeforeAdd(){
		iconId = R.drawable.btn_add;
	}
	
	public void setIconAfterAdd(){
		iconId = R.drawable.btn_remove;
	}
}
